<script setup lang="ts">
import sidebar from "./components/sidebar.vue"
import {NMessageProvider } from 'naive-ui'

</script>

<template>
  <!--消息组件 -->
  <n-message-provider>
    <div class="qiankunBox">
      <sidebar>
        <template #content><router-view></router-view></template>
      </sidebar>
    </div>
  </n-message-provider>
</template>

<style lang="scss" scoped>
.qiankunBox {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: row;
}
</style>
